﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.Peppers.ShellExtensions
{
    /// <summary>
    /// Class for holding information in the TranslateUrl event
    /// </summary>
    public sealed class UrlSearchHookEventArgs : EventArgs
    {
        internal UrlSearchHookEventArgs()
        {
            Success = true;
        }

        /// <summary>
        /// Pass a false if no match, or on error
        /// </summary>
        public bool Success
        {
            get;
            set;
        }

        /// <summary>
        /// Text of entry in browser
        /// </summary>
        public string Url
        {
            get;
            set;
        }
    }
}
